#include "junix.h"

int main(int argc, char **argv)
{
    struct passwd* pw=getpwuid(1000);
	fprintf(stdout,"name:    %s\n",pw->pw_name);
	fprintf(stdout,"passwd:  %s\n",pw->pw_passwd);
	fprintf(stdout,"home:    %s\n",pw->pw_dir);
	fprintf(stdout,"shell:   %s\n",pw->pw_shell);
	fprintf(stdout,"uid:     %d\n",pw->pw_uid);
	fprintf(stdout,"gid:     %d\n",pw->pw_gid);
	return 0;
}

